package com.zeng.ssm.dal.mapper;

import com.zeng.ssm.dal.model.AccountMsgLog;
import com.zeng.ssm.dal.model.AccountMsgLogExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * 记账报文日志Mapper
 *
 * @author zengwanlin
 */
@Mapper
public interface AccountMsgLogMapper {
    long countByExample(AccountMsgLogExample example);

    int deleteByExample(AccountMsgLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AccountMsgLog row);

    int insertSelective(AccountMsgLog row);

    List<AccountMsgLog> selectByExampleWithBLOBsWithRowbounds(AccountMsgLogExample example, RowBounds rowBounds);

    List<AccountMsgLog> selectByExampleWithBLOBs(AccountMsgLogExample example);

    List<AccountMsgLog> selectByExampleWithRowbounds(AccountMsgLogExample example, RowBounds rowBounds);

    List<AccountMsgLog> selectByExample(AccountMsgLogExample example);

    AccountMsgLog selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") AccountMsgLog row, @Param("example") AccountMsgLogExample example);

    int updateByExampleWithBLOBs(@Param("row") AccountMsgLog row, @Param("example") AccountMsgLogExample example);

    int updateByExample(@Param("row") AccountMsgLog row, @Param("example") AccountMsgLogExample example);

    int updateByPrimaryKeySelective(AccountMsgLog row);

    int updateByPrimaryKeyWithBLOBs(AccountMsgLog row);

    int updateByPrimaryKey(AccountMsgLog row);
}